::-webkit-scrollbar {
    width: 0;
    height: 0
} //设置滚动条
html {}

body {
    background: #FAFAFA;
    font-family: 'PingFang-SC';
    //  height: 100%;
    -webkit-text-size-adjust:100%!important; 
}

*{ -webkit-tap-highlight-color: rgba(0,0,0,0);-webkit-tap-highlight-color: transparent; /* For some Androids */ }
select{appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    border:none;}
img {
    width: 100%;
    display: block;
}

video {
    width: 100%;
    height: 100%;
    display: block;
}

p {
    line-height: .44rem;
    color: #333333;
    font-size: .3rem;
}

li,a,
a:hover,
a:active,
a:visited,
a:link,
a:focus {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    outline: none;
    background: none;
    text-decoration: none;
}

input,
textarea {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); //去除手机端点击的背景色
    caret-color: #35BF7E;
}
input::-webkit-input-placeholder,textarea::-webkit-input-placeholder {
    color: #999999;
    font-weight: 500;
}
textarea:-moz-placeholder,input:-moz-placeholder {
    color: #999999;
    font-weight: 500;
}

textarea::-moz-placeholder,input::-moz-placeholder {
    color: #999999;
    font-weight: 500;
}

textarea:-ms-input-placeholder,input:-ms-input-placeholder {
    color: #999999;
    font-weight: 500;
}
div,span,
p {
    /*数字和英文强制换行*/
    word-break: break-word;
    word-wrap:break-word;
    table-layout:fixed;
    word-break:break-all;
}

//公告颜色
$TitleColor: #333333;
$ContentColor: #999999;
.c_v_html{
    img,video{
        width: 100% !important;
        height: inherit !important;
    }
}
//公告样式
.c_text_ellipsis_2 {
    //注意不能用padding,只能用margin顶开
    //2行的时候超出隐藏，有兼容
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.c_text_ellipsis_1 {
    //注意如果用了flex，记得在display:flex级别写overflow: hidden;
    //一行的时候超出隐藏
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

//各种字体设置
.c_size_34_48 {
    color: $TitleColor;
    font-size: .34rem;
    line-height: .48rem;
    font-weight: 700;
}

.c_size_30_42 {
    color: $ContentColor;
    font-size: .3rem;
    line-height: .42rem;
}

.c_go_home {
    padding: .09rem .32rem .09rem .22rem;
    color: white;
    position: fixed;
    display: flex;
    right: 0;
    z-index: 99;
    border-radius: 1rem 0px 0px 1rem;
    bottom: 3rem;
    background: #35BF7E;
}

//重构YDUI toast
.yd-list-donetip{
    background: #FAFAFA;
}
.yd-toast{
    p{
        color: white;
    }
}
.yd-toast {
    background: rgba(0, 0, 0, .7) !important;
    background:#505050 !important;
    font-size: .28rem !important;
    color: white !important;
    line-height: .4rem !important;
}

.yd-toast-none-icon {
    padding: .1rem .19rem !important;
    border-radius: .3rem !important;
}

.yd-toast-none-icon .yd-toast-content {
    padding: 0 !important;
    color: white !important;
}

.yd-scrollview:after {
    display: none !important;
}
.yd-dialog-black-mask{
    .yd-confirm{
        width: 5.4rem !important;
        margin-bottom: .6rem !important;
        border-radius: .24rem !important;
        padding: .38rem 0 0 0  !important;
        .yd-confirm-hd{
            text-align: center;
            color: #333333 !important;
            font-size: .36rem !important;
            line-height: .5rem !important;
            font-weight: 500 !important;
            padding: 0 !important;
            .yd-confirm-title{
                color: #333333 !important;
            }
        }
        .yd-confirm-bd{
            text-align: center;
            font-size: .28rem !important;
            line-height: .4rem !important;
            color: #333333 !important;
            padding: .38rem .2rem .64rem .2rem !important;
        }
        .yd-confirm-ft{
            margin-top: 0 !important;
            .yd-confirm-btn{
                font-size: .34rem !important;
                line-height: .48rem !important;
                padding: .18rem 0 .22rem 0 !important;
//              border-right: 1px solid #E6E6E6 !important;
                &:last-child{ 
//                  border-right:none !important;
                }
            }
        }
    }
}
